﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="newsadd.aspx.cs" Inherits="Admin.newsadd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>News Add</title>
      <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js?ver=1.2.6'></script> 
  <script type="text/javascript"> 
   /* <![CDATA[ */
   /* ]]> */
  </script> 
  <style> 
*{
	font-family:"微软雅黑";
  	}
.content{
	width:1000px;
}
.left{
	width:200px;
	float:left;
	margin-right:20px;
	border:1px  solid #898989;
	min-height:500px;
}
.left li{
	height:30px;
	line-height:30px;
}
.right{
	width:750px;
	margin-left:220px;
}
a:hover,a:visited{
	color:#1aadc8;
}
a{
text-decoration:none;
}
  </style> 
</head>
<body>
    <form id="form1" runat="server">
    <div class="content">
	<div class="left">
		<h3>Welcome,管理员: pablojiang</h3>
		<ul>
			<li><a href="#">新闻管理</a></li>
			<li><a href="#">案例管理</a></li>
			<li><a href="#">服务管理</a></li>
			<li><a href="#">关于管理</a></li>
			<li><a href="#">招聘管理</a></li>
			<li><a href="#">其他管理</a></li>
		</ul>
	</div>
	<div class="right">
		<h1>添加新闻</h1>
		<div class="title">
			新闻标题： 
            <asp:TextBox ID="txbTitle" runat="server"></asp:TextBox>
		</div>
		<div class="title">
			首页置顶：<asp:DropDownList ID="ddlTop" runat="server">
            </asp:DropDownList>
		</div>
		<div class="title">
			是否热门：<asp:CheckBox ID="ckbHot" runat="server" />
		</div>
		<div class="title">
			新闻类别：
		    <asp:DropDownList ID="ddlCategory" runat="server">
            </asp:DropDownList>
		</div>
		<div class="title">
			新闻缩略图：<asp:FileUpload ID="fileImg" runat="server" />
&nbsp;<asp:Button ID="btnUpload" runat="server" Text="上传" onclick="btnUpload_Click" />
		    [建议大小70x70,或者至少保证正方形]</div>
		<div class="title">
			新闻内容：<CKEditor:CKEditorControl ID="newsContent" runat="server" Language="zh-cn" Height="400"  ></CKEditor:CKEditorControl>
		</div>
		&nbsp;
                <asp:Button ID="btnSubmit" runat="server" onclick="btnSubmit_Click" 
                    Text="添加新闻" />
                <asp:Button ID="btnReset" runat="server" Text="取消" />
	</div>
</div>

    </form>
</body>
</html>
